package org.academic.texteditor.gui.component.toolbar;

import java.awt.Toolkit;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Icon;
import javax.swing.KeyStroke;

public class JToolBarButton extends AbstractAction {

	private static final long serialVersionUID = 7280495385488790464L;

	public JToolBarButton(String text, Icon icon, String description, char accelerator) {
		super(text, icon);
		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(accelerator,
				Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
		putValue(SHORT_DESCRIPTION, description);
	}

	public void actionPerformed(ActionEvent event) {
		
	}

}
